// create by:hanjianxin
// at:11-08-02 16:40, for SOS
// resolve & comment by: zhaoningbo 11-08-03
#ifndef BOND__DEF
#define BOND__DEF

[["java:package:com.ccxe.bond.credit"]]
module dto {
	struct BondIssueInformationCountDto{
		string bondcode;
	 	string id;
	 	string issuer;
	 	string issDate;
	 	string numOfYears;
	 	string issueSize;
	 	string issueRate;
	 	string spread1;
	 	string spread2;
	 	string crOrgName;
	};
};
module service {

        // *Attention please: when we use 'metadata', we recommend 
        //   to use the full name of the Java Class. Just like the following!
        //   That because 'slice2java' has a tiny bug, which may do not fill
        //   the T , just in Generics<T>, with this full name. So ours code 
        //   goes red.
		["java:type:java.util.ArrayList<com.ccxe.bond.credit.dto.BondIssueInformationCountDto>"] 
		    sequence<dto::BondIssueInformationCountDto> listBondIssueInformationCountDto;
	
	interface BondIssueInformationCountService{
		//method 
		listBondIssueInformationCountDto getCreditOrgListFromBondCredit();
	};
};
#endif